gdk: Add 3.92 version macros
authorTimm Bäder <mail@baedert.org>
Sun, 9 Apr 2017 09:54:02 +0000 (11:54 +0200)
committerTimm Bäder <mail@baedert.org>
Tue, 25 Apr 2017 18:29:02 +0000 (20:29 +0200)
gdk/gdkversionmacros.h.in

index a42a34bc9334e8ee7473b6c24d4066417d8909bd..fad0d6b71f9d7641d6b5df4d88cf729a37f31d72 100644 (file)
  */
 #define GDK_VERSION_3_90        (G_ENCODE_VERSION (3, 90))
 
+/**
+ * GDK_VERSION_3_92:
+ *
+ * A macro that evaluates to the 3.92 version of GDK, in a format
+ * that can be used by the C pre-processor.
+ *
+ * Since: 3.92
+ */
+#define GDK_VERSION_3_92        (G_ENCODE_VERSION (3, 92))
+
+
 /* evaluates to the current stable version; for development cycles,
  * this means the next stable target
  */
 # define GDK_AVAILABLE_IN_3_90                _GDK_EXTERN
 #endif
 
+#if GDK_VERSION_MAX_ALLOWED < GDK_VERSION_3_92
+# define GDK_AVAILABLE_IN_3_92                GDK_UNAVAILABLE(3, 92)
+#else
+# define GDK_AVAILABLE_IN_3_92                _GDK_EXTERN
+#endif
+
+
 #endif  /* __GDK_VERSION_MACROS_H__ */